package com.qf.mybatisplus.service.impl;

import com.qf.mybatisplus.entity.AppInfo;
import com.qf.mybatisplus.mapper.AppInfoMapper;
import com.qf.mybatisplus.resultBean.Result;
import com.qf.mybatisplus.service.AppInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 对接渠道信息 服务实现类
 * </p>
 *
 * @author zdd
 * @since 2023-06-01
 */
@Service
public class AppInfoServiceImpl extends ServiceImpl<AppInfoMapper, AppInfo> implements AppInfoService {


    @Override
    public Result getAppInfoList() {
        List<AppInfo> appInfos = this.baseMapper.selectList(null);
        Result result = new Result();
        result.setData(appInfos);
        return result;
    }
}
